Xbasic

a5w_DeleteFromWorkQueue Function

Syntax

L lResult = a5w_DeleteFromWorkQueue(P pValues ,P pResult )

Arguments

lResult

.t. or .f. depending on whether the command succeeded.

pValues

A dot variable that has in/out properties (explained below)

pResult

A dot variable that two properties, 'hasError' - .t./.f. and 'errorText' (if there is an error)

Description

pValues is a dot variable. Used in a Web application to delete an entry in the Work Queue. pValues.id is the value of the entry to be deleted. .

These are the properties of pValues:

ID (Guid)
CreatedWhen (DateTime)
WorkType (C)
IsLocked (N)
SchedulatedStartTime (DateTime)
HandledBy (C)
IsCompleted (N)
CompletedDateTime (t)
Status (C)
WorkData (c)
ErrorMessage (c)
Message (c)

pValues.ID

pValues.ID is the GUID primary key of the record and is the only input property that matters for this call.

See Also